<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<tpl> $NCharset </tpl>" />
<tpl>include file ='../store.config.html'</tpl>
<script type="text/javascript" language="javascript" src="<tpl> $Site_Url </tpl>/js/store/store_static.js"></script>
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/templates/green/store/css/storestyle.css"/>
<link href="..<tpl>$templatepath</tpl>/css/style/blue.css" rel="stylesheet" type="text/css" title="styles1" media="screen"  />
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/templates/green/store/css/default_new.css"/>
<link type="text/css" rel="stylesheet" href="<tpl>$Site_Url</tpl>/templates/green/store/css/header_new.css"/>
<STYLE type="text/css">
body {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}

#InfoSelectorTarget ul, #InfoSelectorTarget li.select{
	background-position:left -87px;
}
#InfoSelectorTarget li.select a {
	background-position:right -87px;
}
#title1,.title2 {
	border-top: 3px solid #3A81C8;
}

td#head {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#content {
	border:1px solid #bbb;
}
#layout_1 {
	border:medium none;
}
#layout_0 {
	border:medium none;
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#layout_0 h3 {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#layout_2 {
	border:medium none;
;
}
#layout_2 h3 {
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
.mContent {
	border-top:medium none;
	border-right:medium none;
	border-left:medium none;
	border-bottom:1px solid #e5e5e5;
	height:101px;
	background:none transparent scroll repeat 0% 0%;
	cursor:<tpl>$arrBlog.cursor</tpl>;
}
#head div.alignright {
	float:right;
	margin:-28px 20px 0 0;
}
a {
	color:<tpl>$arrBlog.linkcolor</tpl>;
}
</STYLE>
</head>

<body id=body style="background-color: <tpl> $arrBlog.bodycolor </tpl>; background-image: url(<tpl> $arrBlog.bodyimage </tpl>); color: <tpl> $arrBlog.fontcolor </tpl>;background-repeat: <tpl> $arrBlog.bodyrepeat </tpl>;">

<!-- 头文件 -->
<div id="layout_page">
  <tpl> include file="../store_header.html" </tpl>
<div id="sitenav"></div>

<div style=" float:left; width:400px; height:5px; ">
<div style=" position:relative; top:-25px; text-align:left; padding-left:5px;">
<a href="<tpl> $site_url </tpl>"><tpl> $langCIndex </tpl></a> &gt; <a href="<tpl> $site_url </tpl>/home/shop.php?action=list&keyword=&slcShopClass="><tpl> $langCShop </tpl></a> &gt; <a href="index.php?userid=<tpl> $frame_user_id </tpl>"><tpl> $shop_array.shop_name|default:'my shop' </tpl></a>
</div>
</div>
<!--  背景图  -->
<div id="submenu_bg" style="background-color: <tpl>$arrBlog.headcolor</tpl>; background-image: url(<tpl>$arrBlog.headimage</tpl>); background-repeat:<tpl>$arrBlog.headrepeat</tpl>; color: <tpl>$arrBlog.headtextcolor</tpl>;">
<!-- 栏目 <a id="addtofav" href="#"><tpl> $langStoreCollectionShop </tpl></a> -->

<div id="submenu_bg_mainnav"><div id="submenu_bg_mainnav0"></div>
<!-- 子栏目  -->
<div id="submenu_bg_mainnav0_lanmu"><ul><li class="chaojixiaodian_1"><a href="<tpl> $shop_url </tpl>"><span><tpl> $langStoreControlMyShop </tpl></span></a></li>
<tpl> if $frame_shop_info.audit_state eq '2' </tpl>
	<li class="chaojixiaodian"><a href="intro.php?userid=<tpl> $frame_user_id </tpl>" target="_blank"><span><tpl> $langStoreControlShopIntro </tpl></span></a></li>
	<li class="dianpujieshao" id="show_shoptag"><a href="shop_map.php?userid=<tpl> $frame_user_id </tpl>" target="_blank"><span><tpl> $langStoreControlShopMap </tpl></span></a></li>
<tpl> else </tpl>
	<li class="chaojixiaodian" id="show_shoptag"><a href="intro.php?userid=<tpl> $frame_user_id </tpl>" target="_blank"><span><tpl> $langStoreControlShopIntro </tpl></span></a></li>
<tpl> /if </tpl>
</ul></div>
</div>
</div>
<table width="940"  style="margin-left:auto; margin-right:auto; float:left;*float:none;_float:none; margin-top:10px;"border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><!-- 左边栏目<div class="container_left">  -->
		<table width="100%" style="background-color: <tpl>$arrBlog.contentcolor</tpl>; background-repeat: <tpl>$arrBlog.contentrepeat</tpl>; background-image: url(<tpl>$arrBlog.contentimage</tpl>);">
			<TBODY>
				<TR>
					<TD align="left" valign="top" id=layout_0 style="background-color: <tpl>$arrBlog.sidecolor</tpl>; background-image: url(<tpl>$arrBlog.sideimage</tpl>); background-repeat: <tpl>$arrBlog.siderepeat</tpl>;">
					<tpl>if $arrBlog.slayout eq '2' </tpl>
					<!-- 搜索 -->
					<div class="rightsidebar_sousuo">
					<form name="form1" action="product.php?userid=<tpl> $frame_user_id </tpl>" method="post">
						<input name="keyword" class="sou_sousuo" size="20" value="" style="height: 14px;" type="text">
						<input style=" width:56px; height:20px; font-size:12px;" name="Submit" value="<tpl> $langCSearchBaby </tpl>" type="submit">
						<input name="searchtype" size="20" value="1" style="height: 14px;" type="hidden">
					</form>
					
					</div>
					<!-- 店铺公告 -->
					<div class="container_right">
						<!-- 左边显示模式 -->
						<tpl>section name=item loop=$side_template</tpl>
							<tpl>if $side_template[item] neq ''</tpl>
								<div style="float:left; clear:both; margin-top:5px;"  id="<tpl> $side_template[item] </tpl>">
									
														<ul></ul>
														<ul><li style="background-color: <tpl>$arrBlog.blockcolor</tpl>; background-image: url(<tpl>$arrBlog.blockimage</tpl>); color: <tpl>$arrBlog.blocktextcolor</tpl>; background-repeat: <tpl>$arrBlog.blockrepeat</tpl>; width:181px; float:left;" id=block<tpl> $side_template[item] </tpl>><!-- 栏目内容 --></li></ul>
		
								</div>
							<tpl>/if</tpl>
						<tpl>/section</tpl>
					</div>
					<tpl>/if</tpl>
					</TD>
				  	<TD align="center" width="741" id=layout_1 style="background-color: <tpl>$arrBlog.maincolor</tpl>; background-image: url(<tpl>$arrBlog.mainimage</tpl>); background-repeat: <tpl>$arrBlog.mainrepeat</tpl>;">
					<div style="margin-left:auto; margin-right:auto; width:735px;">
					<div class="content_left_tuijianshangpin">
						<div class="content_left_tuijianshangpin_daohang"><ul><li class="right_wenzi"><tpl> $langStoreMessageAll </tpl></li><li class="right_tupian"></li>
						<li><div style="width:81px; height:20px; margin-top:2px; *margin-top:2px; _margin-top:3px; ">
						<input style="width:81px; cursor:pointer; height:20px; font-size:12px; border:0px; background:url(<tpl> $site_url </tpl>/templates/green/store/images/qiyong.gif); line-height:22px; *line-height:21px; _line-height:22px; vertical-align:middle;" name="ClosePicView" value="<tpl> $langSMessageSendLeaveWord </tpl>" type="button" onclick="javascript:window.location.href='message.php?action=new&userid=<tpl> $frame_user_id </tpl>'" />

						
						
						
						</div></li></ul></div>
					<form id="product_condition" action="product.php?userid=<tpl> $frame_user_id </tpl>" method="post">
						<!-- 商品列表检索参数 -->
						<input type="hidden" name="keyword" id="keyword" value="<tpl> $condition.keyword </tpl>" />
						<input type="hidden" name="searchtype" id="searchtype" value="<tpl> $condition.searchtype </tpl>" />
						<input type="hidden" name="classid" id="classid" value="<tpl> $condition.classid </tpl>" />
						<input type="hidden" name="recommended" id="recommended" value="<tpl> $condition.recommended </tpl>" />
						<input type="hidden" name="list" id="list" value="<tpl> $condition.list </tpl>" />
						<input type="hidden" name="price" id="price" value="<tpl> $condition.price </tpl>" />
						<input type="hidden" name="view_type" id="view_type" value="<tpl> $view_type </tpl>" />
					</form>
					
					
					<div class="fenye_0">
					
					
					<ul><li class="fenye_00"></li>
					<li class="fenye_00"></li>
					<li class="fenye_02"><tpl> $page_list </tpl></li></ul>
					</div>
					<!-- 商品信息 -->
					<div class="liuyan_neirong">
<form action="message.php?action=save" method="post">
      <div class="liuyan_tex"><textarea class="liuyan_tx" name="txtMessage" cols="" rows="" id="txtMessage"></textarea></div>
      <div class="txtMessage"><tpl> $langSMessageCode </tpl>:
        <input style="width:50px;  vertical-align:middle" name="code" type="text" id="code"  class="searchinput">
        <img src="<tpl> $site_url </tpl>/classes/libraries/code.php" onclick="this.src='<tpl> $site_url </tpl>/classes/libraries/code.php?' + Math.random()" 

title="<tpl> $langSMessageOnClickCode </tpl>" id="codeimage" name="codeimage" style="vertical-align:middle" />
      </div>
	  <div  class="txtMessage1">
        <input class="liuyan_add"  name="submit" type="submit" value="<tpl> $langSMessageSubmit </tpl>"/>
	  
	  <input class="liuyan_add"  type="reset" value="<tpl> $langSMessageSewrite </tpl>"  />
      
	   <input class="liuyan_add"  type="button" value="<tpl> $langSMessageBackingOut </tpl>" onclick="location.href='index.php?userid=<tpl>$userid</tpl>'" />
	   <input type="hidden" value="<tpl>$userid</tpl>" name="userid" id="userid" />
      </div>
    </form>
		<div></div></div>
					  
					  <div style="float:left;  width:720px; padding-right:10px; text-align:right; height:25px; border-bottom:#c7ced7 1px solid; background-color:#f0f0f0;  line-height:28px; *line-height:22px; _line-height:25px; vertical-align:middle"><tpl> $page_list </tpl></div></div>
					  </div>
				  </TD>
					<TD align="right" valign="top" id=layout_2 style="background-color: <tpl>$arrBlog.sidecolor</tpl>; background-image: url(<tpl>$arrBlog.sideimage</tpl>); background-repeat: <tpl>$arrBlog.siderepeat</tpl>;" >
						<tpl> if $arrBlog.slayout eq '0' </tpl>
							<!-- 搜索 -->
							<div class="rightsidebar_sousuo">
							<form name="form1" action="product.php?userid=<tpl> $frame_user_id </tpl>" method="post">
								<input name="keyword" class="sou_sousuo" size="20" value=""  type="text">
								<input style=" width:56px; height:20px; font-size:12px;" name="Submit" value="<tpl> $langCSearchBaby </tpl>" type="submit">
								<input name="searchtype" size="20" value="1" style="height: 14px;" type="hidden">
							</form>
							</div>
						<div class="container_right">
								<tpl>section name=item loop=$side_template</tpl>
							<tpl>if $side_template[item] neq ''</tpl>
								<div style="float:left; clear:both; margin-top:5px;"  id="<tpl> $side_template[item] </tpl>">
									
														<ul></ul>
														<ul><li style="background-color: <tpl>$arrBlog.blockcolor</tpl>; background-image: url(<tpl>$arrBlog.blockimage</tpl>); color: <tpl>$arrBlog.blocktextcolor</tpl>; background-repeat: <tpl>$arrBlog.blockrepeat</tpl>; width:181px; float:left;" id=block<tpl> $side_template[item] </tpl>><!-- 栏目内容 --></li></ul>
		
								</div>
							<tpl>/if</tpl>
						<tpl>/section</tpl>
					</div>
					<tpl>/if</tpl>
					</TD>
				</TR>
			</TBODY>
	  </table>
	</td>
  </tr>
</table>
</div>
<tpl> include file ='../../../html/footer.html' </tpl>
</body>
<script type="text/javascript">
function showMessage(begin,id)
{
	$.ajax({
			type:'get',
			url:'index.php',
			data: 'action=ajax_'+id+'&userid=<tpl> $frame_user_id </tpl>&mid='+'<tpl>$mid</tpl>&ajax=1',
			success:function(msg){
				if (id == 'shoptag') {
					$('#'+begin+id).after(msg);
				} else {
					$('#'+begin+id).html(msg);	
				}
			}
		});
}
<tpl>section name=item loop=$side_template</tpl>
	<tpl>if $side_template[item] neq ''</tpl>
		showMessage('block','<tpl>$side_template[item]</tpl>');
	<tpl>/if</tpl>
<tpl>/section</tpl>
<tpl>section name=main loop=$main_template</tpl>
	<tpl>if $main_template[main] neq ''</tpl>
		showMessage('show_','<tpl>$main_template[main]</tpl>');
	<tpl>/if</tpl>
<tpl>/section</tpl>
//头部
showMessage('html','head');
showMessage('show_','shoptag');
hideSide(<tpl>$arrBlog.slayout</tpl>);
</script>
</html>